<?php 
namespace My\Controller;

use Utuo\BackgroundController;

class DistributionShopHotWordsController extends BackgroundController {

	public function _initialize() {
		$this->setControllerTitle("热词搜索管理");
		$this->setActionTitle(array(
				'index' => '热词搜索列表',
				'add' => '添加热词',
				'modify' => '修改热词',
				'recycle' => '回收站'
		));
		$this->setActionNav("index,add,recycle");
	}
	
	public function getLists($is_deleted = 0) {
		$condition = array(
			'is_deleted' => $is_deleted,
			'cid' => $this->aid,
		);
		$productHotWordsLists = M('DistributionShopHotWords')->where( $condition )->select();
		$this->assign("hotWordsLists", $productHotWordsLists);
		$this->display();
	}
	
}